@extends('web.master')
@section('title','我的团队')
@section('head')
    <link rel="stylesheet" href="{{asset('statics/css/index.css')}}" />

    <style>
        .mint-loadmore-bottom{
            text-align: center;
        }
        .page-infinite-loading{
            display:-webkit-box;
            -webkit-box-pack:center;
            -webkit-box-align:center;

        }
    </style>
@endsection
    @section('content')

        <div class="teamTip" style="position: fixed;top: 0;width: 100%;z-index: 1000;">
            成员信息<img src="{{asset('statics/images/start.png')}}" class="start">为已经有分销商的粉丝
        </div>
        @if($count>0)
        <div class="teamBox" id="app" style="padding-top: 45px;">

                <ul  v-infinite-scroll="loadMore"
                     infinite-scroll-disabled="loading"
                     infinite-scroll-distance="10">
                    <li v-for="item in list" >
                        <div class="teamHead">
                            <img :src="item.headimgurl" />
                        </div>
                        <div class="teamTxt">
                            <p>@{{ item.nickname }}<img src="/statics/images/start.png" class="start"></p>
                            <h6>成粉时间：@{{ item.created_at }}</h6>
                            <span>@{{ item.promote_num }}个成员</span>
                        </div>
                    </li>
                </ul>
            <div v-show="loading" class="page-infinite-loading">
                <mt-spinner type="fading-circle"></mt-spinner>
                加载中...
            </div>

        </div>
            @else
            <div class="null">
                <img src="{{asset('statics/images/null.png')}}" />
            </div>
        @endif
        @endsection
@section('foot')
    @include('web.components.infinite',['url'=>'/user/ajaxGroup'])
    @endsection

